<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>预览试卷</title>
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <h1>{{ exam.title }} - 预览试卷</h1>
    <p>{{ exam.description }}</p>
    <ol>
    {% for question in questions %}
    <li>
        {{ question.question_text }}
        {% if question.question_type == '选择题' %}
        <ol type="A">
            <li>{{ question.option_a }}</li>
            <li>{{ question.option_b }}</li>
            <li>{{ question.option_c }}</li>
            <li>{{ question.option_d }}</li>
        </ol>
        {% endif %}
    </li>
    {% endfor %}
</ol>
<a href="{{ url_for('exam_list', paper_id=exam.id) }}">返回试卷列表</a>
</body>
</html>

